package com.kukudexin.demo.controller;

import com.jfinal.plugin.activerecord.Db;
import com.jfinal.plugin.activerecord.Record;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @author: 德鑫
 * @version:
 * @since: 2021/4/27
 */
@RestController
public class activeRecodeController {
    @RequestMapping("/activePlugin")
    public void activePlugin(){
        Record record = Db.findFirst("select * from user");
        System.out.println(record);
    }
}
